import 'package:get/get.dart';

import 'package:myapp/app/modules/ArticleDetails/bindings/article_details_binding.dart';
import 'package:myapp/app/modules/ArticleDetails/views/article_details_view.dart';
import 'package:myapp/app/modules/action_chip/bindings/action_chip_binding.dart';
import 'package:myapp/app/modules/action_chip/views/action_chip_view.dart';
import 'package:myapp/app/modules/align/bindings/align_binding.dart';
import 'package:myapp/app/modules/align/views/align_view.dart';
import 'package:myapp/app/modules/brokerinfo/bindings/brokerinfo_binding.dart';
import 'package:myapp/app/modules/brokerinfo/views/brokerinfo_view.dart';
import 'package:myapp/app/modules/button/bindings/button_binding.dart';
import 'package:myapp/app/modules/button/views/button_view.dart';
import 'package:myapp/app/modules/dialog/bindings/dialog_binding.dart';
import 'package:myapp/app/modules/dialog/views/dialog_view.dart';
import 'package:myapp/app/modules/entrance/bindings/entrance_binding.dart';
import 'package:myapp/app/modules/entrance/views/entrance_view.dart';
import 'package:myapp/app/modules/home/bindings/home_binding.dart';
import 'package:myapp/app/modules/home/views/home_view.dart';
import 'package:myapp/app/modules/info/bindings/info_binding.dart';
import 'package:myapp/app/modules/info/views/info_view.dart';
import 'package:myapp/app/modules/input/bindings/input_binding.dart';
import 'package:myapp/app/modules/input/views/input_view.dart';
import 'package:myapp/app/modules/login/bindings/login_binding.dart';
import 'package:myapp/app/modules/login/views/login_view.dart';
import 'package:myapp/app/modules/profile/bindings/profile_binding.dart';
import 'package:myapp/app/modules/profile/views/profile_view.dart';
import 'package:myapp/app/modules/text/bindings/text_binding.dart';
import 'package:myapp/app/modules/text/views/text_view.dart';
import 'package:myapp/app/modules/widgetlist/bindings/widget_list_binding.dart';
import 'package:myapp/app/modules/widgetlist/views/widget_list_view.dart';
import 'package:myapp/app/modules/wrap/bindings/wrap_binding.dart';
import 'package:myapp/app/modules/wrap/views/wrap_view.dart';

part 'app_routes.dart';

class AppPages {
  AppPages._();

  static const INITIAL = Routes.ENTRANCE;

  static final routes = [
    GetPage(
      name: _Paths.HOME,
      page: () => HomeView(),
      binding: HomeBinding(),
      transition: Transition.fadeIn,
    ),
    GetPage(
      name: _Paths.BROKERINFO,
      page: () => BrokerInfoView(),
      binding: BrokerinfoBinding(),
    ),
    GetPage(
      name: _Paths.ENTRANCE,
      page: () => EntranceView(),
      binding: EntranceBinding(),
    ),
    GetPage(
      name: _Paths.LOGIN,
      page: () => LoginView(),
      binding: LoginBinding(),
      transition: Transition.fadeIn,
    ),
    GetPage(
      name: _Paths.INFO,
      page: () => InfoView(),
      binding: InfoBinding(),
    ),
    GetPage(
      name: _Paths.PROFILE,
      page: () => ProfileView(),
      binding: ProfileBinding(),
    ),
    GetPage(
      name: _Paths.ARTICLE_DETAILS,
      page: () => ArticleDetailsView(),
      binding: ArticleDetailsBinding(),
    ),
    GetPage(
      name: _Paths.WIDGETLIST,
      page: () => WidgetListView(),
      binding: WidgetListBinding(),
    ),
    GetPage(
      name: _Paths.WRAP,
      page: () => WrapView(),
      binding: WrapBinding(),
    ),
    GetPage(
      name: _Paths.TEXT,
      page: () => TextView(),
      binding: TextBinding(),
    ),
    GetPage(
      name: _Paths.INPUT,
      page: () => InputView(),
      binding: InputBinding(),
    ),
    GetPage(
      name: _Paths.DIALOG,
      page: () => DialogView(),
      binding: DialogBinding(),
    ),
    GetPage(
      name: _Paths.ACTION_CHIP,
      page: () => ActionChipView(),
      binding: ActionChipBinding(),
    ),
    GetPage(
      name: _Paths.ALIGN,
      page: () => AlignView(),
      binding: AlignBinding(),
    ),
    GetPage(
      name: _Paths.BUTTON,
      page: () => ButtonView(),
      binding: ButtonBinding(),
    ),
  ];
}
